<%@tag description="put the tag description here" pageEncoding="UTF-8"%>
<%@attribute name="number" required="true" type="java.lang.Integer"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<fmt:setLocale value="${lang}"/>
<ul class="nav nav-tabs">
            <li <% if (number==1) out.print("class=\"active\""); %>>
                <a href="./main?action=person.list"><fmt:message key="persons"/></a>
            </li>
            <li <% if (number==2) out.print("class=\"active\""); %>>
                <a href="./main?action=organization.list"><fmt:message key="organizations"/></a>
            </li>
            <li <% if (number==3) out.print("class=\"active\""); %>>
                <a href="./main?action=account.list"><fmt:message key="accounts"/></a>
            </li>
            <li <% if (number==4) out.print("class=\"active\""); %>>
                <a href="./main?action=phoneNumber.list"><fmt:message key="phone.numbers"/></a>
            </li>            
            <li <% if (number==5) out.print("class=\"active\""); %>>
                <a href="./main?action=call.list"><fmt:message key="calls"/></a>
            </li>
            <li <% if (number==6) out.print("class=\"active pull-right\""); else out.print("class=\"pull-right\""); %>>
                <a href="./main?action=administration"><fmt:message key="administration"/></a>
            </li>
</ul>                 